﻿using Class_Entity.ObjectTwo;
using DataAccess.ObjectTwo;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BussinessObject.ObjectTwo
{
   public class B_Update
    {
       D_Update ex = new D_Update();
       Companies fx = new Companies();
       public bool updateCom(Companies fx)
       {
           return ex.UpdateCompany(fx);
       }
       public bool updateCity(Cities fx)
       {
           return ex.UpdateCity(fx);
       }
       public bool updateBranch(CC_Branches fx)
       {
           return ex.UpdateBranch(fx);
       }
       public bool updateDistance(Distances fx)
       {
           return ex.UpdateDistance(fx);
       }
       public bool updateService(C_Services fx)
       {
           return ex.UpdateService(fx);
       }
       public bool UpdateNews(C_News fx)
       {
           return ex.UpdateNews(fx);
       }
       public bool UpdateFeePolicy(Delivery_free_polices fx)
       {
           return ex.UpdateFeePolicy(fx);
       }
       public bool UpdateOrderA(Orders fx)
       {
           return ex.UpdateOrderA(fx);
       }
       public bool UpdateOrderB(Orders fx)
       {
           return ex.UpdateOrderB(fx);
       }

    }
}
